﻿using System.Windows;
using System.Windows.Input;

namespace Gmantis.Controls.Chart
{
    internal enum ActionType
    {
        None,
        Translate,
        Zoom,
        Scale,
        Rotate3D,
        Pinch
    }

    public abstract class Action : DependencyObject
    {
        // Fields
        private ActionType _atype;
        private ModifierKeys _mkeys;

        // Methods
        internal Action(ActionType atype)
        {
            this._atype = atype;
        }

        // Properties
        internal ActionType ActionType
        {
            get
            {
                return this._atype;
            }
        }

        public ModifierKeys Modifiers
        {
            get
            {
                return this._mkeys;
            }
            set
            {
                this._mkeys = value;
            }
        }

        internal virtual bool SupportMouseWheel
        {
            get
            {
                return false;
            }
        }
    }
}
